import request from '@/utils/request'

export function getBookList(data) {
    return request({
        url: '/weixin/book/findList',
        data:data
    })
}
export function getBlockBookList(data) {
    return request({
        url: '/weixin/templateBlockBook/findList',
        data:data
    })
}
export function getBookDetail(data) {
    return request({
        url: '/weixin/book/findDetail',
        data:data
    })
}
export function getCategoryList(data) {
    return request({
        url: '/weixin/templateClassify/findList',
        data:data
    })
}
export function saveRecord(data) {
    return request({
        url: '/weixin/user/saveRecord',
        data:data
    })
}
export function saveFavouriteBook(data) {
    return request({
        url: '/weixin/user/saveFavouriteBook',
        data:data
    })
}
export function getFavouriteVaild(data) {
    return request({
        url: '/weixin/user/getFavouriteVaild',
        data:data
    })
}
